package com.hsjk.szwj.module.pay.convert;

import com.hsjk.szwj.module.pay.api.dto.MchDivisionReceiverDTO;
import com.hsjk.szwj.module.pay.controller.admin.division.vo.AdminDivisionAccountTypeRespVO;
import com.hsjk.szwj.module.pay.dal.dataobject.division.MchDivisionReceiverDO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * @author chenjiawei
 * @desc
 * @Date 2023/12/04 00:33
 **/
@Mapper
public interface DivisionConvert {
    DivisionConvert INSTANCE = Mappers.getMapper(DivisionConvert.class);

    List<AdminDivisionAccountTypeRespVO> convertAdminDivisionAccountTypeRespVO(List<MchDivisionReceiverDO> receiverDOS);

    MchDivisionReceiverDTO convertMchDivisionReceiverDTO(MchDivisionReceiverDO divisionReceiverDO);
}
